package designPattern.Singleton;

/*和01是一样的*/
public class Singleton02 {
    private static final Singleton02 INSTANCE;
    static {
        INSTANCE = new Singleton02();
    }
    private Singleton02(){}
    public Singleton02 getInstance(){
        return INSTANCE;
    }
}
